package com.spring.cootask.web.service;

import com.spera.shopoa.util.ShopOaSessionUtil;
import com.spring.cootask.web.model.CooTaskTable;
import com.spring.cootask.web.model.FeTask;
import com.spring.cootask.web.model.TaskTablebaseDetail;
import com.spring.security.web.model.BaseResult;

import java.util.List;

/**
 * Created by WoJunyu on 2016/9/20.
 */
public interface FeTaskService {
    List<FeTask> selectTaskByParm(FeTask data);

    BaseResult saveTask(FeTask data, ShopOaSessionUtil.OaUser oaUser);

    BaseResult deleteTask(String id);

    List<TaskTablebaseDetail> selectTableDetail(String taskId);

    List<FeTask> selectTaskTransByParm(FeTask data);
    
    BaseResult commitPop(String taskUserID) throws Exception;
}
